package com.study.designmodes.controller;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 简单的controller
 *
 * @author yyb8152
 * @since 20220402
 **/
@RestController
public class MyController {

    @RequestMapping("/hello")
    public String sayHello() {
        return "Hello SpringBoot";
    }
}
